package com.RedRiver.hospitalsystem.finance_service.client;

import com.RedRiver.hospitalsystem.finance_service.client.param.PaymethodInfoListClient;
import com.RedRiver.hospitalsystem.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(contextId = "PaymethodClient",name="finance-service",path="financeService/paymethod")
public interface PaymethodClient {

    @PostMapping("/findPaymethodAll")
    Result<PaymethodInfoListClient> findPaymethodAll();
}
